var proxy = require('http-proxy-middleware');
var url = 'http://rap2api.taobao.org/app/mock/';
var local = 'http://localhost:3000/';
module.exports = [
  proxy('/apix',  {target: local, changeOrigin:true,pathRewrite: {'^/apix' : '/'}}),
  proxy('/api',  {target: url, changeOrigin:true,pathRewrite: {'^/api' : '/'}})
];
